﻿using System;

namespace Ecobee.Net
{
	public class NotAuthorized : ResponseCodeException
	{
		/// <summary>
		/// Initializes a new instance of the Ecobee.Net.NotAuthorized class.
		/// </summary>
		public NotAuthorized(Exception innerException)
			: base(2, innerException, "Attempted to access resources which user is not authorized for. Ensure the thermostat identifiers requested are correct.")
		{
		}
	}
}
